#浏览器最大化
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.maximize_window()
time.sleep(2)
driver.find_element_by_id("kw").send_keys("宫崎骏")
driver.find_element_by_id("su").click()
time.sleep(3)
driver.quit()